import javax.microedition.midlet.MIDlet;

import com.sun.lwuit.Button;
import com.sun.lwuit.Command;
import com.sun.lwuit.Container;
import com.sun.lwuit.Form;
import com.sun.lwuit.TextArea;
import com.sun.lwuit.events.ActionEvent;
import com.sun.lwuit.events.ActionListener;
import com.sun.lwuit.layouts.BorderLayout;
import com.sun.lwuit.layouts.BoxLayout;


public class HelpForm extends Form implements ActionListener{

	Command back;
	TextArea textbox;
	MainMIDlet midlet;
	
	public HelpForm(MIDlet midlet)
	{
		super("Help");
		this.midlet=(MainMIDlet)midlet;
		
		
		this.setLayout(new BorderLayout());
		textbox=new TextArea("fksdlfjalskjfklsdjfklsdjfklsdfjksdfjk");
		back=new Command("Back");
		
//		this.addComponent(BorderLayout.CENTER, start_chat);
//		this.addComponent(BorderLayout.CENTER, about);
//		this.addComponent(BorderLayout.CENTER, help);
//		this.addComponent(BorderLayout.CENTER, exit);
		
		this.addComponent(BorderLayout.CENTER, textbox);
		this.addCommand(back);
		this.addCommandListener(this);
	}
	
	public void actionPerformed(ActionEvent arg0) {
		// TODO Auto-generated method stub
		midlet.main_menu.show();
	}

}
